package com.wandian.robot;

/**
 * @author long
 * @Create 2012-11-14 下午2:31:40
 * @QQ 108232706
 * @version 1.0
 * @description PlayerVo
 */
public class PlayerVo {
	public int openId;
	public int userid;
	public String userName;//游戏账号
	public String name;//游戏昵称
	public String icon;
	public int personId;
	public int vip;
	public int level;
	public int sex;
	public int initSex;
	public int gold;
	public float money;
	/**
	 * 显示在当前携带的金额，
	 * 
	 * @default
	 */
	public float stake;
	public int sumGame;
	public int winGame;
	public int honor;
	public int star;
	public int rank;
	public int winRank;
	public int seatId;
	public  int state = 0;
	public int lastAction = 0;
	/**
	 * 下注金额
	 * 
	 * @default
	 */
	public float callChip = 0;
	public float giveChip = 0;
	public float bankAssets;
	public int giftPcate;
	public int giftPframe;
	public int banSpeak = -1;
	public int yellowvip;
	public int isyearvip;
	public boolean isSend = false;

	public PlayerVo()
	{
	}

	@Override
	public String toString() {
		return "userid " + this.userid + "," + "name " + this.name + "," + "seatId " + this.seatId + "," + "money " + this.money + "," + "stake " + this.stake;
	}

	public void init()
	{
		this.openId = 0;
		this.userid = 0;
		this.name = "";
		this.icon = "";
		this.stake = 0;
		this.bankAssets = 0;
		this.gold = 0;
		this.honor = 0;
		this.level = 0;
		this.money = 0;
		this.seatId = 0;
		this.star = 0;
		this.vip = 0;
		this.lastAction = 0;
		this.rank = 0;
		this.winRank = 0;
		this.giveChip = 0;
		this.giftPcate = 0;
		this.giftPframe = 0;
		this.yellowvip = 0;
		this.isyearvip = 0;
		this.isSend = false;
		this.banSpeak = -1;
		return;
	}

}
